function [PQ, status, scheduledTargets] = BsMf_Schedule_IntervalAlgebra(PQ, sensor1TargetOrder, sensor2TargetOrder, param)
%BsMf_Schedule_IntervalAlgebra Summary of this function goes here
% Detailed explanation goes here

% Initialise the Interval Algebra Network: Targets are added in the order 
% they are seen by sensor 1 and then sensor 2.
[ia_network, status, s1Targets, s2Targets] = IA_ScheduleInit(sensor1TargetOrder, sensor2TargetOrder);
if ~status
  return;
end

% Perform the scheduling by selecting from the Priority Queue and adding
% the relevent "equals" task to the Interval Algebra Network.
[PQ, status, scheduledTargets] = IA_ScheduleRun(PQ, ia_network, s1Targets, s2Targets);
end